<?php echo '';exit;?> 
<!--{if $_G['uid']}-->
<div class="xiaoyu-info">
<span class="avatar"><!--{avatar($_G[uid],small)}--></span>
   
     <span class="wel-name">{$_G[member][username]}</span> 
     <div class="sub-menu"> 
      <ul> 
      <li class="fish_libox usernav_hook"><!--{hook/global_usernav_extra1}--></li>
      
      <li><a href="home.php?mod=space&do=notice">{lang remind}<!--{if $_G[member][newprompt]}-->
    <em id="notice_tip_count">($_G[member][newprompt])</em><!--{/if}--></a></li>
    <li><a href="home.php?mod=space&do=pm">{lang pm_center}{if $_G[member][newpm]}<em id="reply_tip_count">(new)</em>{/if}</a></li>
    
          <li><a href="home.php?mod=space&uid=$_G[uid]&do=thread&view=me&from=space">{$language[usertz]}</a></li>
    <li><!--{hook/global_usernav_extra4}--></li>
    <li><a href="home.php?mod=space&do=favorite&view=me">{$language[usersc]}</a></li>
    <li><a href="home.php?mod=spacecp">{$language[usersj]}</a></li>
     <!--{if check_diy_perm($topic)}-->
    <li><a href="javascript:openDiy();" >{$language[userdiy]}</a></li>
    <!--{/if}-->
    <!--{if ($_G['group']['allowmanagearticle'] || $_G['group']['allowpostarticle'] || $_G['group']['allowdiy'] || getstatus($_G['member']['allowadmincp'], 4) || getstatus($_G['member']['allowadmincp'], 6) || getstatus($_G['member']['allowadmincp'], 2) || getstatus($_G['member']['allowadmincp'], 3))}-->
    <li><a href="portal.php?mod=portalcp"><!--{if $_G['setting']['portalstatus'] }-->{lang portal_manage}<!--{else}-->{lang portal_block_manage}<!--{/if}--></a></li>
    <!--{/if}-->
    <!--{if $_G['uid'] && $_G['group']['radminid'] > 1}-->
    <li><a href="forum.php?mod=modcp&fid=$_G[fid]" target="_blank">{lang forum_manager}</a></li>
    <!--{/if}-->
    <!--{if $_G['uid'] && $_G['adminid'] == 1 && $_G['setting']['cloud_status']}-->
    <li><a href="admin.php?frames=yes&action=cloud&operation=applist" target="_blank">{lang cloudcp}</a></li>
    <!--{/if}-->
    <!--{if $_G['uid'] && getstatus($_G['member']['allowadmincp'], 1)}-->
    <li><a href="admin.php" target="_blank">{lang admincp}</a></li>
    <!--{/if}-->
    <li><!--{hook/global_usernav_extra2}--></li>
    <li><!--{hook/global_usernav_extra3}--></li>
    <li><a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{$language[usertc]}</a></li>
      </ul> 
     </div> 
    </div>
<div class="mf-login"> 
     <header> 
      <span class="avatar"><!--{avatar($_G[uid],small)}--></span>
      <h4>{$_G[member][username]}</h4>
      <h5>{lang usergroup}: $_G[group][grouptitle]</h5>
     </header> 
     <div class="mf-login-content"> 
      <ul> 
          <li><a href="home.php?mod=space&uid=$_G[uid]&do=thread&view=me&from=space">{$language[usertz]}</a></li>
    <li><!--{hook/global_usernav_extra4}--></li>
    <li><a href="home.php?mod=space&do=favorite&view=me">{$language[usersc]}</a></li>
    <li><a href="home.php?mod=spacecp">{$language[usersj]}</a></li>
    <li><!--{hook/global_usernav_extra2}--></li>
    <li><!--{hook/global_usernav_extra3}--></li>
      </ul> 
     </div> 
     <footer> 
     <a href="member.php?mod=logging&action=logout&formhash={FORMHASH}">{$language[usertc]}</a>
     </footer> 
    </div>
<!--{elseif !$_G[connectguest]}-->
  <div class="mf-login"> 
   <div class="mf-login-login"> 
    <img src="template/xiaoyu_com/style/img/default-avatar.png" class="avatar avatar-120" height="120" width="120" /> 
    <a href="member.php?mod=logging&action=login" class="mf-login-login btn user-login">{$language[userdl]}</a> 
    <a href="member.php?mod=register" class="mf-login-register btn user-reg">{$language[userxyh]}</a> 
   </div> 
  </div>
  
<div class="xiaoyu-login">
    <a href="member.php?mod=register" class="btn user-reg">{$language[userzc]}</a>
   	<a href="member.php?mod=logging&action=login" class="btn user-login" onClick="showWindow('login', this.href)" >{$language[userdl]}</a>
</div>

<!--{else}-->
<!--{hook/global_usernav_extra1}-->
<!--{/if}-->
	



